Notifications
Announcements
No record found.
Is someone could help me ?
*This post is locked for comments
Hello,
Here is an example - docs.microsoft.com/.../web-api-basic-operations-sample-csharp
Thank you for your answer! But I'd like to do something like this, after that I will use Postman .
public class ContactController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
return new string[] { "value1", "value2" };
}
// GET api/values/5
public string Get(int id)
return "value";
// POST api/values
public void Post([FromBody]string value)
// PUT api/values/5
public void Put(int id, [FromBody]string value)
// DELETE api/values/5
public void Delete(int id)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2