You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to rely on the documented http return status codes instead of relying on the code which is returned in the body (didn't find documentation about this code).
Are there any problems in returning the whole response?
The text was updated successfully, but these errors were encountered:
For proper error handling we want to rely on the http status codes which pinterest api gives back: https://developers.pinterest.com/docs/api/overview/#errors
Currently in https://github.com/realadeel/pinterest-api/blob/master/lib/pinterest/client.rb#L60 only the response body will be returned.
An example response:
We want to rely on the documented http return status codes instead of relying on the code which is returned in the body (didn't find documentation about this code).
Are there any problems in returning the whole response?
The text was updated successfully, but these errors were encountered: