Shorten URLs Using the HTTP Callout POST Method
HTTP Callout in Spring 23 got many people excited. The blog post and the video by Josh Dayment and I drew quite some attention. We heard one criticism for this functionality: the solution was incomplete without the POST method.
With Summer 23, the Salesforce Flow Product Team not only moves the GET method to GA, but also gives us the POST method in Beta.
The use case we picked for this demo is based on a real-life client requirement. The client wants to shorten the long URL links before they send them to customers via email or text. Read on for a link to the three-part blog on this topic.
First, let's dive into the background information: Until recently, API access was reserved for developers. Flow automation did not deal with APIs much. ?? ??
But what does this functionality do? ??
This feature creates an invocable action powered by External Services to connect your flow to an HTTP-based API without using code.
What is an API? ??
API?(Application Programming Interface) is a program mediator that allows two applications to exchange data and complies with?HTTP?and?REST?standards. API refers to standards and documentation that describe how to create or use such a connection or interface.
What is the GET method? ??
The GET request method is used to fetch data from the server.?Example: Send Postal/ZIP-code to receive City in the response. Another example: Send phone number, receive the telecom carrier.
领英推荐
What is the POST method? ??
The?HTTP POST?request method sends data to the server. The HTTP POST method creates or updates a resource on the server. POST is one of the most widely used?methods?of the HTTP protocol. The HTTP?POST?method is used to submit web?forms, upload files and images to the server.
Read the three-part blog on this topic here. Also, check out the GET blog post while you are on the site.
I am starting another Cohort of the Complete Flow Course on June 20th, 2023. It is a bootcamp-style live course. The course costs $480 for 18 hours of live content for a limited time. So hurry up and take your place before the class fills up. Find more information, ask questions, and register for the course here.
---
Visit https://SalesforceBreak.com/ for more awesome posts like this.
If you ?? the newsletter, please recommend it to a friend or colleague.
Source for definitions: https://reqbin.com/
Next Trend Realty LLC./wwwHar.com/Chester-Swanson/agent_cbswan
1 年Thanks for Sharing.