PricingBlog

Do I understand services correctly?

  • neville9288-1496255271931215992

    Neville

    23 days ago

    I was very excited to start using services, hoping that it would make calls with lots of parameters a little easier to configure. However, when I create a new api call in Nordcraft, select my Xano service and the PATCH endpoint I want to use, none of the input parameters show up. The Swagger docs are public.

    Anything I'm missing? Not a huge deal but would like to use the feature if it makes life easier.

    Thanks!
  • erikbeus-1496392342645510144

    Erik Beuschau

    23 days ago

    @Kedde could you help out here?
  • keddedev-1496466562281111602

    Kedde

    23 days ago

    Yes. I see the same thing. Im looking into it
  • keddedev-1496468120036966541

    Kedde

    23 days ago

    Oh actually I dont. When I create a PATCH enpoint in Xano and add an input parameter to it its added as the body of the request. Not as a query parameter. When I then create an API i Nordcraft using my new PATCH endpoint, the editor generates the body structure for me on create with the parameters defined in the PATCH endpoint in Xano.

    If I generate a request that has no body, like a GET, input parameters are passed as query parameters in the URL. These show in the parameters section of the API in the Nordcraft editor.

    If you still have issues maybe you can send me the swagger docs? I can try to take a look at them
  • neville9288-1496511727607615509

    Neville

    23 days ago

    That is super smart and works like a charm! Thanks for the quick response!
    🙌1