meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
api:manual [2020/02/18 17:52]
Lauri Elevant [Authentication header]
api:manual [2020/02/18 17:55] (current)
Lauri Elevant [Authentication header]
Line 40: Line 40:
 Here is a quick way to make your first API request: Here is a quick way to make your first API request:
   ​   ​
-  curl -X GET -H "​Authorization:​ DREAM apikey=\"​YOUR-API-KEY\""​ https://​apply.uni.edu/​api/​institutions+  curl -v -X GET -H "​Authorization:​ DREAM apikey=\"​YOUR-API-KEY\""​ https://​apply.uni.edu/​api/​institutions
  
 On the request above, ''​apply.uni.edu''​ is the domain for your DreamApply installation. It may also be in the form of "​your-uni.dreamapply.com"​ if you have not yet configured the domain in DreamApply settings. Tip - you can add ''​| python -m json.tool''​ to the end of the command if you expect to receive JSON data (not all API queries return JSON) to prettify the output. On the request above, ''​apply.uni.edu''​ is the domain for your DreamApply installation. It may also be in the form of "​your-uni.dreamapply.com"​ if you have not yet configured the domain in DreamApply settings. Tip - you can add ''​| python -m json.tool''​ to the end of the command if you expect to receive JSON data (not all API queries return JSON) to prettify the output.