Timeline for Magento 2 - Custom REST api POST method not working
Current License: CC BY-SA 4.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 14 at 23:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 17 at 3:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 18 at 10:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 14, 2023 at 18:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 13, 2023 at 4:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 13, 2023 at 1:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 5, 2022 at 20:08 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 22, 2021 at 5:02 | answer | added | Jay Parmar | timeline score: 0 | |
Jan 22, 2021 at 5:01 | comment | added | Nayem323 | Let us continue this discussion in chat. | |
Jan 22, 2021 at 4:57 | comment | added | Nayem323 | POST method worked for you? What is your magento version? I am using 2.3.3 | |
Jan 22, 2021 at 4:56 | comment | added | Jay Parmar | please run di:compile and try again because that same code I run and got success | |
Jan 22, 2021 at 4:49 | comment | added | Nayem323 | I ran setup:upgrade, c:c and c:f | |
Jan 22, 2021 at 4:43 | comment | added | Jay Parmar | php bin/magento setup:di:compile php bin/magento c:c php bin/magento c:f | |
Jan 22, 2021 at 4:43 | comment | added | Jay Parmar | Hello @Nayem323 have you apply this three command after creating this api code | |
Jan 22, 2021 at 4:34 | comment | added | Nayem323 | @JayParmar my get method is working fine, but post not working | |
Jan 22, 2021 at 4:33 | history | edited | Nayem323 | CC BY-SA 4.0 |
edited body
|
Jan 22, 2021 at 4:32 | comment | added | Jay Parmar | @Nayem323 let me check and update here ok | |
Jan 22, 2021 at 4:32 | comment | added | Nayem323 | @JayParmar Please see now. I have updated my question details. Thanks | |
Jan 22, 2021 at 4:31 | history | edited | Nayem323 | CC BY-SA 4.0 |
added 1477 characters in body
|
Jan 22, 2021 at 4:23 | comment | added | Jay Parmar | can you please add here more file code for rest api i thing 3-4 files are reuired | |
Jan 22, 2021 at 4:19 | comment | added | Jay Parmar | Hello have you pass the preference of interfaces in di.xml file | |
Jan 21, 2021 at 17:52 | comment | added | Nayem323 | @AlanZavagli yes, I am using postman domain.com/rest/V1/test/data (Method GET, works) domain.com/rest/V1/test/info (Method POST, does not works) | |
Jan 21, 2021 at 17:15 | comment | added | Alan Zavagli | How are you trying them, using something like postman? Can you please add the REST Call? | |
Jan 21, 2021 at 16:37 | history | asked | Nayem323 | CC BY-SA 4.0 |