# Rest API Ignore Fields

**URL:** <https://community.weweb.io/t/rest-api-ignore-fields/2842>\
**Category:** How do I?\
**Created:** [May 27, 2023, 2:08pm UTC](https://community.weweb.io/t/rest-api-ignore-fields/2842 "2023-05-27T14:08:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BuildLikePeter](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/buildlikepeter/32/2674_2.png) [@BuildLikePeter](https://community.weweb.io/u/BuildLikePeter)\
**Post date:** [May 27, 2023, 2:08pm UTC](https://community.weweb.io/t/rest-api-ignore-fields/2842/1 "2023-05-27T14:08:14Z")

</div>

I am using the REST API plugin to POST to an API endpoint in xano. There are certain fields in the endpoint that I do not want to change. How do I setup my API call to just ignore or skip over those fields?

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [May 27, 2023, 3:39pm UTC](https://community.weweb.io/t/rest-api-ignore-fields/2842/2 "2023-05-27T15:39:06Z")

</div>

I recommend using the Xano plugin not the REST plug in.

To answer your question, on the Xano side you can hide inputs that you don’t want to update ever, or use the first\_not\_empty filter to ignore any blank values in an input. This page and the video on it explains:

> **[Edit Record](https://docs.xano.com/working-with-data/functions/database-requests/edit-record)**

---

<div class="post-metadata">

**Author:** ![BuildLikePeter](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/buildlikepeter/32/2674_2.png) [@BuildLikePeter](https://community.weweb.io/u/BuildLikePeter)\
**Post date:** [May 28, 2023, 3:06am UTC](https://community.weweb.io/t/rest-api-ignore-fields/2842/3 "2023-05-28T03:06:26Z")

</div>

Besides the UX that the Xano plugin provides, are there any functional benefits/capabilities that it provides that the REST API can’t?

We only get 4 plugins, it doesn’t make sense to use a redundant plugin that does that exact same thing.

I need the REST API elsewhere since it allows you to manually pass the authentication token in the header, where as the XANO plugin does not.

---

<div class="post-metadata">

**Author:** ![jaredgibb](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jaredgibb](https://community.weweb.io/u/jaredgibb)\
**Post date:** [May 28, 2023, 12:41pm UTC](https://community.weweb.io/t/rest-api-ignore-fields/2842/4 "2023-05-28T12:41:46Z")

</div>

You need to set this logic up on xanos side, using either first\_not empty or first\_not null and not their standard patch call.
