also all of my endpoints are POST requests, Do i override it with?
Copy code
@propery
def rest_method()...
... return 'POST'
a
aaronsteers
06/22/2021, 9:12 PM
That's correct. Also, you may want to override the request payload. Payload is by default null for standard REST/GET, but you can override this just as the GraphQL class does. Just to confirm, this isn't GraphQL, right?
r
rithesh_s
06/23/2021, 4:46 AM
Hey, the request object inside prepare_request() was the problem. I had to overload it fix it. This isnt GraphQL