Hi,
I want to create a post method service. I followed the method in documentation. I am getting 400 bad request error in postman.
I have give bpmcsrf token too.
Please suggest
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
public class UsrNumberOfPlannedPerformancesService : BaseService
{
// Link to the UserConnection instance required to access the database.
private SystemUserConnection _systemUserConnection;
private SystemUserConnection SystemUserConnection
{
get
{
return _systemUserConnection ?? (_systemUserConnection = (SystemUserConnection)AppConnection.SystemUserConnection);
}
}
[OperationContract]
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
ResponseFormat = WebMessageFormat.Json)]
public int GetPlannedPerformances(string code){
}
Like
400 Bad request means you have error in your code / your request.
Can you share what message in your postman when get 400 bad request,