Skip to content

Calling wrong api end point #125

@napestershine

Description

@napestershine

HI

I had a symfony app, so I added APIResource on entity. Now I API's are working perfectly. But Client generated app for react is always calling wrong API.
For example:
If I have a resource faq. It is supposed to call http://localhost:8000/api/faqs but it's calling http://localhost:8000/faqs.

In my entrypoint.js I have Base URL as http://localhost:8000/api

What's getting wrong there?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions