Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Topic should return error when non-existing blobHandle is passed #728

Open
Vadim-Bulavin opened this issue Nov 8, 2017 · 0 comments
Assignees

Comments

@Vadim-Bulavin
Copy link
Contributor

  1. Post topic
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: SocialPlus TK=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIzcjNGcnhjNVJLdFxuRmFjZWJvb2tcbjEzNDQ4MDkzMDg5NjA4ODAiLCJpc3MiOiIzdm4tNUJOZUFnV1xuZWMxNjY1YTQtOTIwZC00NDQ5LWI4YTAtNDllZDM3NGQ0MjkwIiwiZXhwIjoxNTI1Njg2ODM2fQ.6XE1Xh5Rslung-x2R1DRWlbd1Fr1cXJumIaCi2rGNSA' -d '{
  "title": "1",
  "text": "1",
  "blobType": "Image",
  "blobHandle": "EzAzCJ7gRQchpdh4mSjUqbx7"
}' 'https://ppe.embeddedsocial.microsoft.com/v0.7/topics'

Expected: receive error response, topic is not created.
Actual: topic is created, response code 201 is received with body:

{
  "topicHandle": "3qj2I_NwtrJ"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants