Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • Thanks, but I'm getting error while registering controller in DI (error code CS0012) I'm using framework 4.6 with sitecore 10 (headless). Commented Dec 20, 2022 at 13:21
  • @Ranjeet If you are working with headless, you can try this approach. trnktms.com/2022/09/29/… Commented Dec 20, 2022 at 14:54
  • @Ranjeet Let me know if this works for you. Commented Dec 20, 2022 at 14:54
  • yes I'm working with headless. And i want to use HTTP POST api method within sitecore, so that i can expose api to 3rd party and get data from 3rd party tool via Sitecore api. As I'm new in sitecore so please help me out with an example. Commented Dec 21, 2022 at 6:29
  • @Ranjeet Did you check the article that I shared in the comments? Commented Dec 21, 2022 at 7:09