Restful API authentication
Overview
Requesting a Token
https://api.tourpaq.com/api/tokenExample Request (using Fiddler)
POST https://api.tourpaq.com/api/token HTTP/1.1
User-Agent: Fiddler
Host: api.tourpaq.com
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Authorization: Basic Ym9va2luZy50b3VycGFxLmRrOjRkMjBlMDVlNDZmNmU0YjhlZGE5NWYzNDRlZGUxMGI1
Content-Length: 75
Origin: null
grant_type=password&scope=read&username=name&password=password123Example Response
Request Parameters
Parameter
Description
Authorization Header
Response Fields
Field
Description
Making an API Request
Refreshing the Token
Example Request
Summary
Action
Endpoint
Method
Authentication
Last updated
Was this helpful?

