Changes in API Usage – Implemention

Changes in API Usage – Implemention

As of 12 February, you’ll only be able to access our API with a valid API key and user agent via HTTPS. We announced this in December.

To find out whether your client is compatible, you can already send your x-api-key test header when doing a request.

Test without header:

curl -v ‘http://api.spreadshirt.net/api/v1/shops/205909’

Test with header:

curl -H ‘X-Api-Key-Test: yes’ ‘http://api.spreadshirt.net/api/v1/shops/205909’

What you need to do:

  • Send requests via HTTPS so that they are encrypted in future
  • Set a user agent header containing information about your domain
  • Submit an API key with it – ideally via the authorization header to send it encrypted

Please make sure to get your requests in line with these criteria so that all works well as of 12 February.

  • Uncategorized
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x