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
For context, this happens when the endpoint consumes "application/json"
according to its swagger documentation.
On Fri, Jul 14, 2017 at 18:41 Euen ***@***.***> wrote:
when the content-type is like application/json; charset=utf8 sumo_rest
fails in sr_entities_handler:content_types_accepted/2
Example
Headers = #{ basic_auth => {Name, "pwd"}
, <<"content-type">> => <<"application/json; charset=utf8">>
},
ct:comment("Create the session"),
#{status_code := 201,
body := RespBody} =
lsl_test_utils:api_call(post, "/sessions", Headers),
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#101>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFt2eu0DptjPkqADEIq8QD4pUVaOixyks5sN-CLgaJpZM4OYxXX>
.
when the content-type is like
application/json; charset=utf8
sumo_rest fails in sr_entities_handler:content_types_accepted/2Example
The text was updated successfully, but these errors were encountered: