Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Apr 20, 2018
Sep 18, 2018
Closed, Fixed and tested
Customers can create a profile with a new profileID using a PUT request. For example,
https://profilesapi/api/v1.0/Profiles/new-profile-ID
New-profile-ID has to only follow the rule "0-9,A-Z,a-z,- character". So, customers can create a new profileID with a hyphen only, or a new profileID that is a very long string.
Some bugs in that process are listed below.
Expected:
Scenario 1:
/Profiles/?$filter=profileID eq
|
--------------------------------------------------------------------------
R2: 500 Internal Server Error
Scenario 2:
Scenario 3:
https://profilesapi/api/v1.0/Profiles/Anprofile-without-spceprofileID-without-121without-sp2aceprofileID-w1ithout-spaceprofileID-without-spaceprofileID-without-spaceprofileID-without-spaceprofileID-w-without--without-spaceprofileID-without-spacepr1234ofileID-without-spaceprofileID-1989699849849abcend
R1: 400 Bad request
Response body:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Bad Request - Invalid URL</h2> <hr><p>HTTP Error 400. The request URL is invalid.</p> </BODY></HTML>