It’s time for another blog post on a cool feature as the Ballerina Swan Lake beta1 was released last week. This is a pretty short post to give you a heads-up on one of the new features of Ballerina HTTP package.

Photo by Christopher Gower on Unsplash

HTTP client plays a significant role in the system by connecting to different endpoint over the network. The client is quite rich in terms of its network functionalities such caching, resiliency, redirection, cookie, security,.. etc.

This post is about another aspect of the client, which is the response payload retrieval.

People invoke endpoints mostly to play with data/payload. So…

This article describes how to configure the NetSuite account to use REST web services with OAuth 2.0 authentication.

Photo by Kevin Ku on Unsplash

Enable Web Services

The NetSuite REST web services provide an integration channel that extends the SuiteTalk capabilities. To use the services, the following features must be enabled in your account.

REST web services and OAuth 2.0 feature

  • Go to Setup > Company > Enable features.
  • Select SuiteCloud subtab.
  • Check the REST WEB SERVICES in the SuiteTalk (Web Services) section.
    (To use the feature, you must accept the SuiteCloud Terms of Service)
  • Check the OAUTH 2.0 in the Manage Authentication section.
  • Save the changes.

SuiteAnalytics Workbook feature

  • Go to Setup > Company > Enable features.
  • Select…

Since Ballerina 1.0 was released couple of weeks back, you must be excited and eager to know things around language. With the stable language syntax and semantics I thought of contributing a little by posting some stuff I learned and practiced through out the journey.

As topic describes, this story is about request dispatching patterns available in services which behave on top of HTTP transport layer. Request dispatching is more like a letter getting delivered to a house based on the home address, where the letter is the request which dispatch to a house called resource.

Ballerina dispatching logic is…

Photo by Fernando @cferdo on Unsplash

Basically forward proxy server uses to gather resources from different servers. Client is being connected to the server via forward proxy. But reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client showing that they are being originated from the proxy server itself. While a forward proxy acts as an intermediary for its associated clients to contact any server, a reverse proxy acts as an intermediary for its associated servers to be contacted by any client.

Chamil Elladeniya

Developer | Traveller

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store